home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / tcprogud.sit / TC Prog Guide / card_30821.txt < prev    next >
Text File  |  1991-02-27  |  623b  |  18 lines

  1. -- card: 30821 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 4755
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 4
  9. ----- text -----
  10. Often a function will return a value but the calling function will choose to ignore this value.  For example the standard library function printf() prints its argument and returns the number of characters printed:
  11.  
  12.     printf("Hello\n");          /*  return value ignored  */
  13.  
  14. If a function returns a void value, the above syntax should always be used, since void values cannot be used in other expressions.
  15.  
  16. -- part contents for background part 7
  17. ----- text -----
  18. 88